package com.news.model;

import java.util.Date;

public class Person {
    private int id;
    private String people_name;
    private int people_age;
    private String people_job;
    private String people_address;
    private String people_remark; //简介
    private int people_number; //得票数，默认0票
    private Date people_time; //发布时间

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPeople_name() {
        return people_name;
    }

    public void setPeople_name(String people_name) {
        this.people_name = people_name;
    }

    public int getPeople_age() {
        return people_age;
    }

    public void setPeople_age(int people_age) {
        this.people_age = people_age;
    }

    public String getPeople_job() {
        return people_job;
    }

    public void setPeople_job(String people_job) {
        this.people_job = people_job;
    }

    public String getPeople_address() {
        return people_address;
    }

    public void setPeople_address(String people_address) {
        this.people_address = people_address;
    }

    public String getPeople_remark() {
        return people_remark;
    }

    public void setPeople_remark(String people_remark) {
        this.people_remark = people_remark;
    }

    public int getPeople_number() {
        return people_number;
    }

    public void setPeople_number(int people_number) {
        this.people_number = people_number;
    }

    public Date getPeople_time() {
        return people_time;
    }

    public void setPeople_time(Date people_time) {
        this.people_time = people_time;
    }

    public Person(String people_name, int people_age, String people_job, String people_address, String people_remark, int person_number) {
        this.people_name = people_name;
        this.people_age = people_age;
        this.people_job = people_job;
        this.people_address = people_address;
        this.people_remark = people_remark;
        this.people_number = person_number;
    }

    public Person(int id, String people_name, int people_age, String people_job, String people_address, String people_remark, int people_number) {
        this.id = id;
        this.people_name = people_name;
        this.people_age = people_age;
        this.people_job = people_job;
        this.people_address = people_address;
        this.people_remark = people_remark;
        this.people_number = people_number;
    }

    public Person() {
    }
}
